/* 
 * File:   commonMutex.h
 * Author: agu
 *
 * Created on 15 de mayo de 2014, 16:00
 */

#ifndef COMMONMUTEX_H
#define	COMMONMUTEX_H
 #include <pthread.h>

class commonMutex {
public:
    commonMutex();
    commonMutex(const commonMutex& orig);
    virtual ~commonMutex();
    void lock();
    void unlock();
private:
    pthread_mutex_t* mutex;
};

#endif	/* COMMONMUTEX_H */

